extends ../components/base
block title
    title 待我审批
block style
    link(rel='stylesheet', href=__CSS_PATH__ + '/news.css')
block aside_content
    include ../components/mixin
    -var routerObj = [{link:'/conference/con_room',text:'会议室维护'},{link:'/conference/con_apply',text:'会议申请'},{link:'/conference/con_approve',text:'待我审批'},{link:'/conference/con_summary',text:'会议纪要'},{link:'/conference/con_history',text:'历史会议'},{link:'/conference/con_sign',text:'会议签到情况'}]
    +asideNav(routerObj,2)
block main_content
    include ../components/mixin
    +RouteNav('待我审批')
    .condition
        .inline-group
            label(for='title') 主题:
            input#title(type='text')
        .inline-group
            label(for='date') 发布时间:
            input#date(type='text')
        .inline-group
            button.btn.btn-default.btn-sm(type='button' style='margin-left:20px' onclick='searchSomething();') 查询
            button.btn.btn-default.btn-sm(type='button' style='margin-left:20px' onclick='window.location.href="/conference/con_create"') 发起
            button.btn.btn-default.btn-sm(type='button' style='margin-left:20px') 通过
            button.btn.btn-default.btn-sm(type='button') 不通过
    #inner-wrapper
        .content-list.section-block
            table.table.table-bordered
                thead
                    tr
                        td
                            input(type='checkbox')
                        td  会议议题
                        td  状态
                        td  会议时间
                        td  会议纪要
                        td  操作
                tbody
                    if(confercences.length)
                        each conference in confercences
                            tr
                                td
                                    input(type='checkbox' data-id=conference.meetingId)
                                td.link  #{conference.title}
                                td  #{conference.approveStatus === 0 ? "未审批" : conference.approveStatus === 1 ? '审批通过' : conference.approveStatus === 2 ? '审批不通过' : '他人已审批'}
                                td  #{conference.startTime}
                                td  #{conference.summaryContent}
                                td.link  审核
        if(rowsCount > 10)
            #pageInfo.pager(style="text-align:center" data-count=rowsCount)
block script
    script(type="text/javascript").
        initSearchInfo();




